//SpawnBox(length of platform, platformX, platformY)
spawnBox = irandom(argument0 / 2);
if(spawnBox == 0)
{
 boxX = argument1 + global.platformWidth + irandom(argument0 / 2) * global.platformWidth;
 boxY = argument2 - global.platformWidth;
 instance_create(boxX, boxY, ob_roof_vent);
 global.ventCount++;
}
